package class231020013;

public class Test {
	
	public static void main(String[] args){
		
		Visit[] visits =  new Visit[9];
		
/*		visits[0] = new Visit(new Time(9, 00) , new Time(15, 30));
		visits[1] = new Visit(new Time(9, 00) , new Time(20, 00));
		visits[2] = new Visit(new Time(9, 00) , new Time(10, 45));
		visits[3] = new Visit(new Time(9, 00) , new Time(12, 00));
		visits[4] = new Visit(new Time(9, 00) , new Time(12, 45));
		visits[5] = new Visit(new Time(10, 30) , new Time(16, 30));
		visits[6] = new Visit(new Time(11, 30) , new Time(14, 45));
		visits[7] = new Visit(new Time(12, 00) , new Time(22, 30));
		visits[8] = new Visit(new Time(14, 00) , new Time(21, 05));*/
	
		
		visits[0] = new Visit(new Time(00, 00) , new Time(00, 00));
		visits[1] = new Visit(new Time(00, 00) , new Time(00, 00));
		visits[2] = new Visit(new Time(9, 00) , new Time(00, 00));
		visits[3] = new Visit(new Time(9, 00) , new Time(00, 00));
		visits[4] = new Visit(new Time(9, 00) , new Time(00, 00));
		visits[5] = new Visit(new Time(9, 00) , new Time(00, 00));
		visits[6] = new Visit(new Time(11, 30) , new Time(00, 00));
		visits[7] = new Visit(new Time(12, 00) , new Time(00, 00));
		visits[8] = new Visit(new Time(14, 00) , new Time(00, 00));
		Journal journal = new Journal(visits);
		
		new MaxVisitorsCalculation().search(journal);

	}

}
